package com.YxyBackMange.Entity.Ware;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.hibernate.validator.constraints.Length;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import java.util.Set;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 实体类WareGoodsType
 * 数据表ware_tb_goods_type
 * 商品类型表
 * 2017-12-3 3:47:31
 * @author Administrator
 *
 */
@Table(name = "ware_tb_goods_type")
public class WareGoodsType  implements Serializable {

		//
	@Id
	@GeneratedValue(generator = "JDBC")


	private Integer id;
		//分类名字


	private String typeName;
		//汉字拼音


	private String typePinyin;
		//父级编号


	private Integer parentId;
		//等级


	private Integer grade;


	public WareGoodsType(){

	}
	public WareGoodsType(Integer id){
		this.id=id;
	}
	public void setId(Integer id){
		this.id=id;
	}

	public Integer getId(){
		return this.id;
	}
	public void setTypeName(String typeName){
		this.typeName=typeName;
	}

	public String getTypeName(){
		return this.typeName;
	}
	public void setTypePinyin(String typePinyin){
		this.typePinyin=typePinyin;
	}

	public String getTypePinyin(){
		return this.typePinyin;
	}
	public void setParentId(Integer parentId){
		this.parentId=parentId;
	}

	public Integer getParentId(){
		return this.parentId;
	}
	public void setGrade(Integer grade){
		this.grade=grade;
	}

	public Integer getGrade(){
		return this.grade;
	}


}
